package com.jwsoft.manager.common.enums.demo;

import com.xiaoyy.core.common.enums.DictType;

/**
 * 测试枚举
 *
 * @author chenzh
 * @date 2020-09-28
 * */
public enum DemoDictEnum implements DictType {
    sex("sex", "SEX", "性别"),
    demo2("demo1", "DEMO2", "测试2");

    /**
     * 属性名称
     */
    private String propertyName;
    /**
     * 字典类型
     */
    private String dictField;
    /**
     * 字典类型名称
     */
    private String feildName;

    DemoDictEnum(String propertyName, String dictField, String feildName) {
        this.propertyName = propertyName;
        this.dictField = dictField;
        this.feildName = feildName;
    }

    @Override
    public String getPropertyName() {
        return propertyName;
    }

    @Override
    public String getFieldName() {
        return feildName;
    }

    @Override
    public String getDictField() {
        return dictField;
    }
}
